package com.mall.untils;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 定时器类
 * @author tgy
 *
 */
public class ScheduleJob implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public Integer id;
	/**
	 * 任务名称（必须）
	 */
	public String jobName;

	/**
	 * 任务分组（非必须）
	 */
	public String jobGroup;

	/**
	 * 任务状态 是否启动任务（必须）
	 */
	public Boolean jobStatus;

	/**
	 * cron表达式（必须）
	 */
	public String cronExpression;

	/**
	 * 描述（非必须）
	 */
	public String description;

	/**
	 * 任务执行时调用哪个类的方法 包名+类名（必须）
	 */
	public String beanClass;

	/**
	 * 任务是否有状态（必须）
	 */
	public Boolean isConcurrent;

	/**
	 * spring bean（必须）
	 */
	public String beanName;

	/**
	 * 任务调用的方法名（必须）
	 */
	public String methodName;

	/**
	 * 创建时间
	 */
	public Timestamp createTime;

	/**
	 * 更新时间
	 */
	public Timestamp updateTime;
	
	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public Boolean getJobStatus() {
		return jobStatus;
	}

	public void setJobStatus(Boolean jobStatus) {
		this.jobStatus = jobStatus;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getBeanClass() {
		return beanClass;
	}

	public void setBeanClass(String beanClass) {
		this.beanClass = beanClass;
	}

	public Boolean getIsConcurrent() {
		return isConcurrent;
	}

	public void setIsConcurrent(Boolean isConcurrent) {
		this.isConcurrent = isConcurrent;
	}

	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}
